'use strict';
module.exports = app => {
  app.defineWords = code => {
    return app.model.define(`tort_words_${code}s`, app.model.WordTpls.tableAttributes, {
      underscored: true,
      paranoid: true,
    });
  };
  app.defineDesigns = code => {
    return app.model.define(`tort_designs_${code}s`, app.model.DesignTpls.tableAttributes, {
      underscored: true,
      paranoid: true,
    });
  };
};
